%h1 Menus
%table
  %tr
    %th Name
    %th Created at
    %th Operations
  -for menu in @menus
    %tr
      %td= link_to menu.name, admin_menu_path(menu)
      %td= menu.created_at
      %td=link_to "Remove", [:admin,menu], :method=>:delete, :confirm=>"Are you sure you want to delete menu #{menu.name}"
  
%h2 Operations
%p=link_to "Create new Menu", new_admin_menu_url